package com.atguigu.ssyx;

import com.atguigu.ssyx.client.product.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan("com.atguigu.ssyx.activity.mapper")
@EnableFeignClients(basePackages = "com.atguigu.ssyx.client.product", defaultConfiguration = DefaultFeignConfig.class)

public class ServiceActivityApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceActivityApplication.class, args);
    }
}